package zhan;

/**
 * @Author: Hasee
 * @Date: 2020-12-03 10:10:40
 */
public class StackTest extends Stack {
    public static void main(String[] args) {
        Stack<String> stack=new Stack<String >();
        stack.push("a");
        stack.push("b");
        stack.push("c");
        stack.push("d");
        for (String s:stack){
            System.out.println(s);
        }
    }
}
